package com.endbd.systemmanagement.dao.permission;


import com.endbd.feignapi.model.system.Job;
import com.endbd.feignapi.model.system.Module;
import com.endbd.feignapi.model.system.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IPermissionDao {

    User queryUserByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

    Job queryJobByUser(User user);

    List<Module> queryModuleByUser(User user);

}
